package com.atjava.nebula.core.service.impl;

import java.io.Serializable;

import com.atjava.nebula.core.dao.ibatis.Condition;
import com.atjava.nebula.core.model.BaseModel;
import com.atjava.nebula.core.exception.baseExp.BusinessException;
import com.atjava.nebula.core.page.Page;

/**
 * 自定义分页查询操作时需要继承此类
 * @author kyo
 *
 * @param <T>
 * @param <ID>
 */
public abstract class PageListService<T extends BaseModel,ID extends Serializable> extends GenericServiceImpl<T,ID>{
	@Override
	public abstract Page<T> page(Condition cond, int pageNo, int pageSize) throws BusinessException;
}
